package com.xcc.httpUtils.request;

import okhttp3.Request;
import okhttp3.RequestBody;

import java.util.Map;

/**
 * Created by Carman
 * <p>
 * Date: 2018/4/17 - 15:40
 * <p>
 * 描述:
 * WebSocket 请求
 */
public class WebSocketRequest extends BaseHttpRequest {

    public WebSocketRequest(String url, Object tag, Map<String, String> params, Map<String, String> headers, String json) {
        super(url, tag, params, headers, json);
    }

    @Override
    protected RequestBody buildRequestBody() {
        return null;
    }

    @Override
    protected Request buildRequest(RequestBody requestBody) {
        return builder.build();
    }
}
